home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_root.timer.timer > 0)
- {
- _root.timer.timer -= 1;
- _root.total_score += 15;
- _root.score = _root.total_score;
- bonus.start();
- }
- if(_root.totalhealth > 0 && _root.timer.timer == 0)
- {
- _root.totalhealth -= 10;
- _root.total_score += 50;
- _root.score = _root.total_score;
- bonus.start();
- if(_root.totalhealth > 250)
- {
- _root.health.nextFrame();
- _root.health.cell.gotoAndStop(2);
- }
- }
- }
-